package com.hjm.project.salesman.salesman.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 业务员对象 salesman
 * 
 * @author admin
 * @date 2020-11-20
 */
@Data
public class Salesman extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 业务员编号 */
    private String smNum;

    /** 业务员名称 */
    @Excel(name = "业务员名称")
    private String smName;

    /** 业务员电话 */
    @Excel(name = "业务员电话")
    private String smPhone;

    /** 状态：0-正常、1-关闭 */
    @Excel(name = "状态：0-正常、1-关闭")
    private Long smStatus;

    /** 分公司 */
    @Excel(name = "分公司")
    private String branchoffice;

    /** 备注 */
    @Excel(name = "备注")
    private String smNote;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 大区 */
    @Excel(name = "大区")
    private String argeaarea;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private String smAddtime;

    private String saleAgentNum;

    private String screenNum;

    private String screenIdnum;

    private String deduct;


    public void setSmNum(String smNum)
    {
        this.smNum = smNum;
    }

    public String getSmNum()
    {
        return smNum;
    }
    public void setSmName(String smName)
    {
        this.smName = smName;
    }

    public String getSmName()
    {
        return smName;
    }
    public void setSmPhone(String smPhone)
    {
        this.smPhone = smPhone;
    }

    public String getSmPhone()
    {
        return smPhone;
    }
    public void setSmStatus(Long smStatus)
    {
        this.smStatus = smStatus;
    }

    public Long getSmStatus()
    {
        return smStatus;
    }
    public void setBranchoffice(String branchoffice)
    {
        this.branchoffice = branchoffice;
    }

    public String getBranchoffice()
    {
        return branchoffice;
    }
    public void setSmNote(String smNote)
    {
        this.smNote = smNote;
    }

    public String getSmNote()
    {
        return smNote;
    }
    public void setDepartment(String department)
    {
        this.department = department;
    }

    public String getDepartment()
    {
        return department;
    }
    public void setArgeaarea(String argeaarea)
    {
        this.argeaarea = argeaarea;
    }

    public String getArgeaarea()
    {
        return argeaarea;
    }
    public void setSmAddtime(String smAddtime)
    {
        this.smAddtime = smAddtime;
    }

    public String getSmAddtime()
    {
        return smAddtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("smNum", getSmNum())
            .append("smName", getSmName())
            .append("smPhone", getSmPhone())
            .append("smStatus", getSmStatus())
            .append("branchoffice", getBranchoffice())
            .append("smNote", getSmNote())
            .append("department", getDepartment())
            .append("argeaarea", getArgeaarea())
            .append("smAddtime", getSmAddtime())
            .toString();
    }
}
